<template>
  <a-result title="403" sub-title="对不起，您没有访问此页面的权限.">
    <template #icon>
      <img src="~@/assets/images/403.png" alt="" style="width: 400px;">
    </template>
    <template #extra>
      <a-button type="primary" @click="toHome">
        返回首页
      </a-button>
    </template>
  </a-result>
</template>

<script>
export default {
  name: 'Exception403',
  methods: {
    toHome () {
      this.$router.push({ path: '/' })
    }
  }
}
</script>
